package com.vogue.supplymall.shop.domain.dao;

import com.vogue.supplymall.shop.domain.model.ProductDetails;

import java.util.List;

import org.apache.ibatis.annotations.Select;

/**
 * The interface Product details dao.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-01-02
 */
public interface ProductDetailsDao extends BaseDao<ProductDetails, Long> {

    /**
     * Gets product deta.
     *
     * @param productDetails the product details
     * @return the product deta
     */
    List<ProductDetails> findProductDeta(ProductDetails productDetails);
    /**
     * 根据syscodeid、productid得到商品详情信息
     */
    public List<ProductDetails> findProductDetailsBySP(Long syscodeid,Long productid);
    /**
     * 根据syscodeid、productid删除商品详情信息
     */
    public int delProductDetailsBySP(Long syscodeId,Long productId);
}
